package com.guoguo.leetcode.character.air;

import com.guoguo.leetcode.character.TestAir;

import java.util.HashMap;
import java.util.Map;

public class Test {
    public static void main(String[] args) throws Exception {
        // Case1 组装测试数据
        AirEntity airEntity = new AirEntity();
        airEntity.setWeather("优");
        airEntity.setInTemperature("26");
        airEntity.setOutTemperature("15");
        Map<String, Integer> map = new HashMap<>();
        map.put("T3", 3000);
        map.put("T3", 5000);
        airEntity.setEngineSpeedMap(map);

        TestAir.getWeatherQualityConversionValue(airEntity.getWeather());
        TestAir.getTemperatureDifference(airEntity.getOutTemperature(), airEntity.getInTemperature());
        TestAir.getEngineSpeedAverageConversionValue(airEntity.getEngineSpeedMap());
    }
}
